package com.moji.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class TreeMenuDto {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    private String menuCode;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String menuName;

    /**
     * 父编码
     */
    @ApiModelProperty(value = "父编码")
    private String parentCode;

    /**
     * 父名称
     */
    @ApiModelProperty(value = "父名称")
    private String parentName;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private int sort;

    /**
     * 层级
     */
    @ApiModelProperty(value = "层级")
    private String levels;

    /**
     * 是否菜单
     */
    @ApiModelProperty(value = "是否菜单")
    private String menuFlag;

    /**
     * url
     */
    @ApiModelProperty(value = "url")
    private String url;

    /**
     * 菜单图标
     */
    @ApiModelProperty(value = "菜单图标")
    private String icon;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态(是否停用1-启用0-禁用)")
    private int prOnoff;

    @ApiModelProperty(value = "是否外联")
    private String sfOutside;

    @ApiModelProperty(value = "显示状态")
    private String showStatus;

    @ApiModelProperty(value = "是否缓存")
    private String sfCache;

    @ApiModelProperty(value = "菜单路由")
    private String menuRoute;

    @ApiModelProperty(value = "路由名称")
    private String routeName;

    @ApiModelProperty(value = "路由参数")
    private String routeParameter;

    @ApiModelProperty(value = "组件路径")
    private String componentPath;

    @ApiModelProperty(value = "权限字符")
    private String permissionCharacter;

    /**
     * 子集
     */
    @ApiModelProperty(value = "子集")
    private List<TreeMenuDto> treeList;


}
